package base.service;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import base.dao.HibernateDaoImp;

@Repository
@Transactional
public class RepositoryService<T>{
	
	@Autowired
	private HibernateDaoImp<T> hibernateDaoImp;
	
	public HibernateDaoImp<T> getDao(){
		return this.hibernateDaoImp;
	}

}
